/*
 * CartMapper.java
 * Copyright(C) 2020-2099 坚小持
 * All rights reserved.
 * -----------------------------------------------
 * 2020-10-22 Created
 */
package com.project.web.order.mapper.app;

import com.project.web.course.mapper.common.BaseMapper;
import com.project.web.order.model.app.Cart;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CartMapper extends BaseMapper<Cart, Long> {

    List<Cart> selectCartListByUserId(@Param("userId") String userId);


    int deleteCart(@Param("userId") String userId, @Param("courseIds") List<String> courseIds);
}